import request from '@/utils/request'

// 计费规则列表
export function ruleList (params) {
  return request({
    url: '/parking/rule/list',
    params
  })
}

// 添加计费规则
export function addRule (data) {
  return request({
    url: '/parking/rule',
    method: 'POST',
    data
  })
}
